/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view;

import java.util.Collections;
import java.util.List;
import model.system.SystemReport;

/**
 *
 * @author Yusup Jauhari Shandi <in.visi>
 */
public class ReportNode extends SystemReport{
    private List<ReportNode> children;

    public ReportNode(int reportId, String reportGroup, String reportName, String reportNameEn, String policy, Integer parentId, Boolean hide) {
        super(reportId, reportGroup, reportName, reportNameEn, policy, parentId, hide);
        if (this.children == null) {
            this.children = Collections.emptyList();
        }
    }

    public ReportNode(int reportId) {
        super(reportId);
    }

    public ReportNode() {
    }

    
    
    @Override
     public String toString() {
        return super.getReportName();
    }
}
